package com.algorithms.absdatatypes;

public interface PriorityQueue<E extends Comparable<E>> extends Container
{
	/*
	 * retrieve the maximum element
	 */
     public E getMax();
     
     /*
      * Insert an element into priority queue
      */
     public E insert(E element);
     /*
      * Remove an element from priority queue
      */
     public E remove(E element);
     
     /*
      * Remove max element from priority queue
      */
     public E removeMax();
     
     /*
      * Modify  old with new
      */
     public void modifyElement(E newElement,E oldElement);
     
}
